package com.qhx.admin.controller;

import cn.hutool.json.JSONUtil;
import com.qhx.common.model.AjaxResult;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

import java.time.LocalDateTime;




@RestController
public class TestController
{


     
   @GetMapping("/test")
    public String test(LocalDateTime startTime){
       System.out.println(startTime);
        return JSONUtil.toJsonStr(AjaxResult.success("test 测试成功"));
    }


    @GetMapping("/test1")
    public String test1(){
        return JSONUtil.toJsonStr(AjaxResult.success("test 测试成功"));
    }

}
